package com.itheima.tlias84.service;

import com.itheima.tlias84.dto.SelectEmpDetailDTO;
import com.itheima.tlias84.entity.Emp;
import com.itheima.tlias84.po.InsertEmpParam;
import com.itheima.tlias84.po.SelectEmpPageParam;
import com.itheima.tlias84.po.UpdateEmpParam;
import com.itheima.tlias84.utils.ResultUtil;

import java.util.List;

public interface EmpService {

    ResultUtil selectEmpByPage(SelectEmpPageParam param);

    List<Emp> selectEmp();

    int batchDelete( List<Integer> ids);

    int insertEmp( InsertEmpParam param);

    SelectEmpDetailDTO selectEmpById( Integer id);

    int updateEmp( UpdateEmpParam param);
}
